/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Vod.Model
{

    /// <summary>
    ///  视频播放信息
    /// </summary>
    public class VideoPlayInfo
    {

        ///<summary>
        /// 生成播放信息的转码任务ID
        ///</summary>
        public string TaskId{ get; set; }
        ///<summary>
        /// 清晰度规格标记。取值范围：
        ///   SD - 标清
        ///   HD - 高清
        ///   FHD - 超清
        ///   2K
        ///   4K
        /// 
        ///</summary>
        public string Definition{ get; set; }
        ///<summary>
        /// 媒体类型
        ///</summary>
        public int? MediaType{ get; set; }
        ///<summary>
        /// 播放信息状态，目前只有正常状态(normal)
        ///</summary>
        public string Status{ get; set; }
        ///<summary>
        /// CDN地址，原始地址或者鉴权地址
        ///</summary>
        public string Url{ get; set; }
        ///<summary>
        /// Size
        ///</summary>
        public long? Size{ get; set; }
        ///<summary>
        /// 视频时长
        ///</summary>
        public long? Duration{ get; set; }
        ///<summary>
        /// 码率
        ///</summary>
        public long? Bitrate{ get; set; }
        ///<summary>
        /// 编码格式
        ///</summary>
        public string Codec{ get; set; }
        ///<summary>
        /// 封装格式
        ///</summary>
        public string Format{ get; set; }
        ///<summary>
        /// 视频宽度
        ///</summary>
        public int? Width{ get; set; }
        ///<summary>
        /// 视频高度
        ///</summary>
        public int? Height{ get; set; }
        ///<summary>
        /// 视频帧率
        ///</summary>
        public string Fps{ get; set; }
        ///<summary>
        /// CreateTime
        ///</summary>
        public DateTime? CreateTime{ get; set; }
        ///<summary>
        /// UpdateTime
        ///</summary>
        public DateTime? UpdateTime{ get; set; }
    }
}
